import requests

cookies = "CURRENT_FNVAL=80; _uuid=A393610C-4B18-602F-5B98-CD98ABFA31C809816infoc; sid=5djpsfd3; rpdid=|(u|kJJmJ~)J0J'uY|~mkkYuJ; buvid3=164839D0-FC59-4453-8B39-976CDF6A0623184995infoc; buvid_fp=164839D0-FC59-4453-8B39-976CDF6A0623184995infoc; buvid_fp_plain=164839D0-FC59-4453-8B39-976CDF6A0623184995infoc; DedeUserID=2050662; DedeUserID__ckMd5=39d2f7e9ac4ac77b; SESSDATA=9b204b65%2C1625276626%2Cb44ca*11; bili_jct=190fa6b9de448f072213df08e1353b84; LIVE_BUVID=AUTO9216107148366361; fingerprint3=91a713574b9fee4ae10ceddcba0bc8a4; fingerprint=af45f7f9888fca1a1e58411c7c9842f0; fingerprint_s=a622786ed326ed840224aa41e92b4187; blackside_state=0; CURRENT_QUALITY=0; bsource=search_360; finger=678021477; bp_video_offset_2050662=508349030628098499; bp_t_offset_2050662=508349030628098499; _dfcaptcha=d1c08b49c5f70a9ee3cafeddb2a41a2f; PVID=3"
jar = requests.cookies.RequestsCookieJar()
headers = {
    'Host': 'www.bilibili.com',
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36'
}
for cookie in cookies.split(';'):
    key, value = cookie.split('=', 1)
    jar.set(key, value)
r = requests.get("http://www.bilibili.com", cookies=jar, headers=headers)
print(r.text)
